﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Flow
{
    /// <summary>
    /// 流程模型
    /// </summary>
    public class FlowModel
    {
        /// <summary>
        /// 节点
        /// </summary>
        public List<NodeModel> nodes { get; set; } = new List<NodeModel>();

        /// <summary>
        /// 边（节点与节点的联系关系）
        /// </summary>
        public List<EdgesModel> edges { get; set; } = new List<EdgesModel>();

        /// <summary>
        /// 坐标
        /// </summary>
        public List<string> position { get; set; } = new List<string>();

        /// <summary>
        /// 大小
        /// </summary>
        public string zoom { get; set; } = string.Empty;

        /// <summary>
        /// 视图坐标
        /// </summary>
        public viewport viewport { get; set; } = new viewport();
    }
}
